package com.hspedu.system_;

import java.time.LocalDateTime;

public class Calendar02 {
    public static void main(String[] args) {
        LocalDateTime ldt = LocalDateTime.now();
        System.out.println(ldt.getYear());
        System.out.println(ldt.getMonth());
        System.out.println(ldt.getMonthValue());
    }
}
